package com.nursebetty.server.service.impl;

import com.nursebetty.server.common.UserProfile;
import com.nursebetty.server.dao.UserDao;
import com.nursebetty.server.service.UserService;

public class UserServiceImpl implements UserService {
	private UserDao userDao;
	@Override
	public UserProfile validateUser(String userName, String password) {
		return userDao.ValidateLogin(userName, password);
	}

	@Override
	public UserProfile signUp(String userName, String password) {
		return userDao.SignUp(userName, password);
	}

	public UserDao getUserDao() {
		return userDao;
	}

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

}
